<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格</title>
</head>

<body>
<!--align: 排列-->
<table border="1" align="left">
    <tr><!--table row: 行
          table column: 列-->
        <td colspan="2" align="center">1-1</td>
        <td>1-3</td>
        <td rowspan="2">1-4</td>
    </tr>
    <tr>
        <td>2-1</td>
        <td>2-2</td>
        <td>2-3</td>
    </tr>
    <tr>
        <td colspan="4" align="center">3-1</td>
    </tr>
</table>

<table border="1">
    <caption>购物车</caption>
    <tr>
        <th>编号</th>
        <th>商品名</th>
        <th>价格</th>
    </tr>
    <tr>
        <td align="center">1</td>
        <td>小米手机</td>
        <td>5000</td>
    </tr>
    <tr>
        <td align="center">2</td>
        <td>华为电视</td>
        <td>4000</td>
    </tr>
    <tr>
        <td>总价:</td>
        <td colspan="2" align="left">9000元</td>
    </tr>
</table>

</body>
</html>